        <!DOCTYPE html>
        <html>
        <head>
                <meta charset="utf-8">
        <title>Position class / box2d Library / Dart Documentation</title>
        <link rel="stylesheet" type="text/css"
            href="../styles.css">
        <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800" rel="stylesheet" type="text/css">
        <link rel="shortcut icon" href="../favicon.ico">
        
        </head>
        <body data-library="box2d" data-type="Position">
        <div class="page">
        <div class="header">
          <a href="../index.html"><div class="logo"></div></a>
          <a href="../index.html">Dart Documentation</a>
         &rsaquo; <a href="../box2d.html">box2d</a> &rsaquo; <a href="../box2d/Position.html">Position</a>        <div id="search-box">
          <input type="search" name="q" id="q" autocomplete="off"
              class="search-input" placeholder="Search API">
        </div>
        
      </div>
      <div class="drop-down" id="drop-down"></div>
      
        <div class="nav">
        
</div>
<div class="content">
        <h2><strong>Position</strong>
          class
        </h2>
        
<button id="show-inherited" class="show-inherited">Hide inherited</button>
<div class="doc">
<p>This is an internal structure</p>
<pre class="source">
class Position {
 vec2 x;
 num a;

 Position() {
   x = new vec2.zero();
   a = 0;
 }
}
</pre>
</div>
<div>
<h3>Constructors</h3>
<div class="method"><h4 id="Position">
<button class="show-code">Code</button>
new <strong>Position</strong>() <a class="anchor-link" href="#Position"
              title="Permalink to Position.Position">#</a></h4>
<div class="doc">
<pre class="source">
Position() {
 x = new vec2.zero();
 a = 0;
}
</pre>
</div>
</div>
</div>
<div>
<h3>Properties</h3>
<div class="field"><h4 id="a">
<button class="show-code">Code</button>
num         <strong>a</strong> <a class="anchor-link"
            href="#a"
            title="Permalink to Position.a">#</a>
        </h4>
        <div class="doc">
<pre class="source">
a
</pre>
</div>
</div>
<div class="field"><h4 id="x">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>x</strong> <a class="anchor-link"
            href="#x"
            title="Permalink to Position.x">#</a>
        </h4>
        <div class="doc">
<pre class="source">
x
</pre>
</div>
</div>
</div>
        </div>
        <div class="clear"></div>
        </div>
        <div class="footer">
          
        </div>
        <script async src="../client-live-nav.js"></script>
        </body></html>
        
